home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / modules / nessus-2.2.8.mo / usr / lib / nessus / plugins / mandrake_MDKSA-2002-018.nasl < prev    next >
Text File  |  2005-01-14  |  3KB  |  132 lines

  1. #
  2. # (C) Tenable Network Security
  3. #
  4. # This plugin text was extracted from Mandrake Linux Security Advisory MDKSA-2002:018
  5. #
  6.  
  7.  
  8. if ( ! defined_func("bn_random") ) exit(0);
  9. if(description)
  10. {
  11.  script_id(13926);
  12.  script_version ("$Revision: 1.2 $");
  13.  
  14.  name["english"] = "MDKSA-2002:018: cyrus-sasl";
  15.  
  16.  script_name(english:name["english"]);
  17.  
  18.  desc["english"] = "
  19. The remote host is missing the patch for the advisory MDKSA-2002:018 (cyrus-sasl).
  20.  
  21.  
  22. Kari Hurtta discovered that a format bug exists in the Cyrus SASL library, which
  23. is used to provide an authentication API for mail clients and servers, as well
  24. as other services such as LDAP. The format bug was found in one of the logging
  25. functions which could be used by an attacker to obtain acces to a machine or to
  26. possibly acquire elevated privileges. Thanks to the SuSE security team for
  27. providing the fix.
  28.  
  29.  
  30. Solution : http://www.mandrakesoft.com/security/advisories?name=MDKSA-2002:018
  31. Risk factor : High";
  32.  
  33.  
  34.  
  35.  script_description(english:desc["english"]);
  36.  
  37.  summary["english"] = "Check for the version of the cyrus-sasl package";
  38.  script_summary(english:summary["english"]);
  39.  
  40.  script_category(ACT_GATHER_INFO);
  41.  
  42.  script_copyright(english:"This script is Copyright (C) 2004 Tenable Network Security");
  43.  family["english"] = "Mandrake Local Security Checks";
  44.  script_family(english:family["english"]);
  45.  
  46.  script_dependencies("ssh_get_info.nasl");
  47.  script_require_keys("Host/Mandrake/rpm-list");
  48.  exit(0);
  49. }
  50.  
  51. include("rpm.inc");
  52. if ( rpm_check( reference:"cyrus-sasl-1.5.27-2.2mdk", release:"MDK8.0", yank:"mdk") )
  53. {
  54.  security_hole(0);
  55.  exit(0);
  56. }
  57. if ( rpm_check( reference:"libsasl7-1.5.27-2.2mdk", release:"MDK8.0", yank:"mdk") )
  58. {
  59.  security_hole(0);
  60.  exit(0);
  61. }
  62. if ( rpm_check( reference:"libsasl7-devel-1.5.27-2.2mdk", release:"MDK8.0", yank:"mdk") )
  63. {
  64.  security_hole(0);
  65.  exit(0);
  66. }
  67. if ( rpm_check( reference:"libsasl7-plug-anonymous-1.5.27-2.2mdk", release:"MDK8.0", yank:"mdk") )
  68. {
  69.  security_hole(0);
  70.  exit(0);
  71. }
  72. if ( rpm_check( reference:"libsasl7-plug-crammd5-1.5.27-2.2mdk", release:"MDK8.0", yank:"mdk") )
  73. {
  74.  security_hole(0);
  75.  exit(0);
  76. }
  77. if ( rpm_check( reference:"libsasl7-plug-digestmd5-1.5.27-2.2mdk", release:"MDK8.0", yank:"mdk") )
  78. {
  79.  security_hole(0);
  80.  exit(0);
  81. }
  82. if ( rpm_check( reference:"libsasl7-plug-login-1.5.27-2.2mdk", release:"MDK8.0", yank:"mdk") )
  83. {
  84.  security_hole(0);
  85.  exit(0);
  86. }
  87. if ( rpm_check( reference:"libsasl7-plug-plain-1.5.27-2.2mdk", release:"MDK8.0", yank:"mdk") )
  88. {
  89.  security_hole(0);
  90.  exit(0);
  91. }
  92. if ( rpm_check( reference:"cyrus-sasl-1.5.27-2.1mdk", release:"MDK8.1", yank:"mdk") )
  93. {
  94.  security_hole(0);
  95.  exit(0);
  96. }
  97. if ( rpm_check( reference:"libsasl7-1.5.27-2.1mdk", release:"MDK8.1", yank:"mdk") )
  98. {
  99.  security_hole(0);
  100.  exit(0);
  101. }
  102. if ( rpm_check( reference:"libsasl7-devel-1.5.27-2.1mdk", release:"MDK8.1", yank:"mdk") )
  103. {
  104.  security_hole(0);
  105.  exit(0);
  106. }
  107. if ( rpm_check( reference:"libsasl7-plug-anonymous-1.5.27-2.1mdk", release:"MDK8.1", yank:"mdk") )
  108. {
  109.  security_hole(0);
  110.  exit(0);
  111. }
  112. if ( rpm_check( reference:"libsasl7-plug-crammd5-1.5.27-2.1mdk", release:"MDK8.1", yank:"mdk") )
  113. {
  114.  security_hole(0);
  115.  exit(0);
  116. }
  117. if ( rpm_check( reference:"libsasl7-plug-digestmd5-1.5.27-2.1mdk", release:"MDK8.1", yank:"mdk") )
  118. {
  119.  security_hole(0);
  120.  exit(0);
  121. }
  122. if ( rpm_check( reference:"libsasl7-plug-login-1.5.27-2.1mdk", release:"MDK8.1", yank:"mdk") )
  123. {
  124.  security_hole(0);
  125.  exit(0);
  126. }
  127. if ( rpm_check( reference:"libsasl7-plug-plain-1.5.27-2.1mdk", release:"MDK8.1", yank:"mdk") )
  128. {
  129.  security_hole(0);
  130.  exit(0);
  131. }
  132.